package com.zzf.命令模式;

public class Invoker {
    private Command cmd;

    public Invoker(Command cmd){
        this.cmd = cmd;
    }

    public void invoke(){
        cmd.execute();
    }
}
